﻿<h3>Show Employees</h3>
<div>
	<?php $formData = array('name'=>'uploadForm','id'=>'uploadImage'); ?>
	<?= form_open_multipart('employee/imageEmployee',$formData) ?>
	<input type = "file" name = "userfile" id = "uploadImage" />
	<?= form_close() ?>
	<table class = "table table-hover">
		<tr><th>ID</th><th>Name</th><th>Address</th><th>Email</th><th>Status</th><th>Company</th></tr>
	<?php foreach($employeesList as $employeeData): ?>
		<tr>
			<td><?= $employeeData->id ?></td><td><?= $employeeData->ename ?></td><td><?= $employeeData->address ?></td><td><?= $employeeData->email ?></td><td><?= $employeeData->status ?></td><td><?= $employeeData->name ?></td>
		</tr>
	<?php endforeach; ?>
	</table>
</div>